import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import createPersistedState from 'vuex-persistedstate'

Vue.use(Vuex)
const vuexPersisted = new createPersistedState({
  // eslint-disable-next-line no-unused-vars
  reducer: (state) => ({}),
})

export default new Vuex.Store({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    user,
  },
  plugins: [vuexPersisted],
})
